package drone.facade.model.entity.auth;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import drone.facade.model.entity.BaseEntity;
import  drone.basis.meta.EntityMeta;
import  drone.basis.meta.FieldMeta;
@EntityMeta(name = "组织部门", description = "组织部门", table = "auth_department", alias = "_auth_department", assign = false, foreign = false, visible = true, order = 1,version="1.0")
public class AuthDepartmentEntity extends BaseEntity implements Serializable {

private static final long serialVersionUID = 1L;
public enum AuthDepartmentField {
dptNo("_auth_department.dpt_no"),dptPno("_auth_department.dpt_pno"),dptName("_auth_department.dpt_name"),dptLevel("_auth_department.dpt_level"),dptVersion("_auth_department.dpt_version"),dptDesc("_auth_department.dpt_desc"),dptState("_auth_department.dpt_state"),dptCreater("_auth_department.dpt_creater"),dptDate("_auth_department.dpt_date"),dptSort("_auth_department.dpt_sort"),dptRemark("_auth_department.dpt_remark"),;
private String name;
private AuthDepartmentField(String name) {this.name = name;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
}
@FieldMeta(primary = true,name = "部门编号",description = "部门编号",column = "dpt_no",require = true,range = true,vague=false , visible=true ,length = 32, order = 1)
private String dptNo;
public String getDptNo() {	return dptNo;	}
public void setDptNo(String dptNo) { this.dptNo = dptNo; }

@FieldMeta(primary = false,name = "父级编号",description = "父级编号",column = "dpt_pno",require = true,range = false,vague=false , visible=true ,length = 32, order = 2)
private String dptPno;
public String getDptPno() {	return dptPno;	}
public void setDptPno(String dptPno) { this.dptPno = dptPno; }

@FieldMeta(primary = false,name = "部门名称",description = "部门名称",column = "dpt_name",require = true,range = false,vague=true , visible=true ,length = 50, order = 3)
private String dptName;
public String getDptName() {	return dptName;	}
public void setDptName(String dptName) { this.dptName = dptName; }

@FieldMeta(primary = false,name = "部门级别",description = "部门级别",column = "dpt_level",require = true,range = false,vague=false , visible=true ,length = 50, order = 4)
private String dptLevel;
public String getDptLevel() {	return dptLevel;	}
public void setDptLevel(String dptLevel) { this.dptLevel = dptLevel; }

@FieldMeta(primary = false,name = "版本号",description = "版本号",column = "dpt_version",require = true,range = false,vague=false , visible=true ,length = 50, order = 5)
private String dptVersion;
public String getDptVersion() {	return dptVersion;	}
public void setDptVersion(String dptVersion) { this.dptVersion = dptVersion; }

@FieldMeta(primary = false,name = "描述信息",description = "描述信息",column = "dpt_desc",require = true,range = false,vague=false , visible=true ,length = 500, order = 6)
private String dptDesc;
public String getDptDesc() {	return dptDesc;	}
public void setDptDesc(String dptDesc) { this.dptDesc = dptDesc; }

@FieldMeta(primary = false,name = "状态",description = "状态",column = "dpt_state",require = true,range = false,vague=false , visible=true ,length = 1, order = 7)
private String dptState;
public String getDptState() {	return dptState;	}
public void setDptState(String dptState) { this.dptState = dptState; }

@FieldMeta(primary = false,name = "创建人",description = "创建人",column = "dpt_creater",require = true,range = false,vague=false , visible=true ,length = 50, order = 8)
private String dptCreater;
public String getDptCreater() {	return dptCreater;	}
public void setDptCreater(String dptCreater) { this.dptCreater = dptCreater; }

@FieldMeta(primary = false,name = "创建日期",description = "创建日期",column = "dpt_date",require = true,range = true,vague=false , visible=true ,length = 0, order = 9)
private Date dptDate;
public Date getDptDate() {	return dptDate;	}
public void setDptDate(Date dptDate) { this.dptDate = dptDate; }

@FieldMeta(primary = false,name = "排序",description = "排序",column = "dpt_sort",require = true,range = false,vague=false , visible=true ,length = 0, order = 10)
private BigDecimal dptSort;
public BigDecimal getDptSort() {	return dptSort;	}
public void setDptSort(BigDecimal dptSort) { this.dptSort = dptSort; }

@FieldMeta(primary = false,name = "备注",description = "备注",column = "dpt_remark",require = true,range = false,vague=false , visible=true ,length = 500, order = 11)
private String dptRemark;
public String getDptRemark() {	return dptRemark;	}
public void setDptRemark(String dptRemark) { this.dptRemark = dptRemark; }

}